package cn.iocoder.yudao.module.resource.dal.dataobject.relation;

import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * 资源分类关联 DO
 *
 * @author 芋道源码
 */
@TableName(value = "resource_category_relation", autoResultMap = true)
@KeySequence("resource_category_relation_seq")
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ResourceCategoryRelationDO extends TenantBaseDO {

    /**
     * 关联ID
     */
    @TableId
    private Long id;

    /**
     * 资源ID
     */
    private Long materialId;

    /**
     * 分类ID
     */
    private Long categoryId;

}
